home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Extra 1997 #4
/
Amiga Plus Extra 1997 #4.iso
/
pd
/
grafik
/
video easel
/
camrexx
/
hpp-gas_borders.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-06-09
|
950b
|
38 lines
/* HPP-Gas by an idea of Toffoli, in CAMRexx by THOR */
MakeAlgorithm:
if plane=0 then
PLANEALGORITHM margolus hvphases
if plane=1 then
PLANEALGORITHM echo center1
return
MakePlane:
if plane=0 then; do
if center_ then
SETPLANE off
else; do
if (center=opp & cw=ccw & center~=cw) | opp_ then
do
if opp_ then; do
if cw_=ccw_ then
SETPLANE center
else; do
if cw_ then
SETPLANE ccw
if ccw_ then
SETPLANE cw
end
end; else; do
if cw_ | ccw_ then
SETPLANE center
else
SETPLANE cw
end
end
else SETPLANE opp
end
end
return